/* src/assets/style/AllEmployee.css */

/* 基础容器样式 - 明亮霓虹风格 */
.container {
    padding: 30px;
    background: rgba(245, 245, 255, 0.95);
    border-radius: 15px;
    box-shadow:
            0 0 20px rgba(167, 139, 250, 0.2),
            0 0 40px rgba(99, 179, 237, 0.1);
    margin: 20px auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

/* 霓虹光晕背景动画 */
.container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
            circle,
            rgba(167, 139, 250, 0.1) 0%,
            rgba(99, 179, 237, 0.1) 50%,
            transparent 70%
    );
    animation: rotate 20s linear infinite;
    z-index: 0;
}

/* 搜索表单样式 */
.demo-form-inline {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* 表单标签样式 */
.el-form-item__label {
    color: #4f46e5;
    font-weight: 500;
}

/* 输入框和选择框样式 */
.el-select .el-input__inner,
.el-input__inner {
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    color: #4f46e5;
    box-shadow: 0 0 8px rgba(167, 139, 250, 0.1);
    transition: all 0.3s ease;
}

.el-select .el-input__inner:focus,
.el-input__inner:focus {
    border-color: #818cf8;
    box-shadow: 0 0 12px rgba(129, 140, 248, 0.3);
}

/* 按钮基础样式 */
.el-button {
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

/* 主按钮样式 */
.el-button--primary {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}

.el-button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.4);
}

/* 危险按钮样式 */
.el-button--danger {
    background: linear-gradient(135deg, #f97381, #f87171);
    color: white;
    box-shadow: 0 0 12px rgba(249, 115, 113, 0.3);
}

.el-button--danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(249, 115, 113, 0.4);
}

/* 成功按钮样式 */
.el-button--success {
    background: linear-gradient(135deg, #10b981, #10a57a);
    color: white;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.el-button--success:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.4);
}

/* 文字按钮样式 */
.el-button--text {
    color: #6366f1;
    font-weight: 500;
}

.el-button--text:hover {
    color: #8b5cf6;
    background-color: rgba(139, 92, 246, 0.05);
}

/* 表格样式 */
.el-table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.el-table th {
    background-color: #eef2ff;
    color: #4f46e5;
    font-weight: 600;
}

.el-table td {
    color: #4f46e5;
    font-weight: 500;
}

.el-table--border {
    border: 1px solid #c7d2fe;
}

.el-table--border th,
.el-table--border td {
    border-right: 1px solid #c7d2fe;
}

/* 分页样式 */
.pagination-container {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.el-pagination.is-background .el-pager li:not(.disabled).active {
    background-color: #6366f1;
    color: white;
}

.el-pagination.is-background .el-pager li:not(.disabled):hover {
    color: #6366f1;
}

/* 动画效果 */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .demo-form-inline {
        padding: 15px;
    }

    .el-form--inline .el-form-item {
        margin-right: 10px;
    }

    .el-button {
        padding: 10px 15px;
        margin-bottom: 10px;
    }
}